package com.ruoyi.system.mapper;


import com.ruoyi.common.core.domain.entity.SysUserDept;

import java.util.List;


public interface SysUserDeptMapper{
    int insertUserDept(SysUserDept sysUserDept);
    int selectById(SysUserDept sysUserDept);

    void deleteUserDeptByUserId(Long userId);

    int batchUserDept(List<SysUserDept> userDepts);

    int insertOrUpdateUsreDept(List<SysUserDept> userDeptList);
}
